package org.sun.web.util;

import java.util.UUID;

public class UUIDUtil {

	public static String getUUID(){
		UUID uuid=UUID.randomUUID();
		String s=uuid.toString();
		String id=s.substring(0,8)+s.substring(9,13)+s.substring(14,18)+s.substring(19,23)+s.substring(24);
		id=id.toUpperCase();
		return id;
	}
	
	public static void main(String[] args) {
		System.out.println(getUUID());
	}
}
